Create a TreeMap GeoTIFF
To run the SpatialFOFEM Tree Mortality model a GeoTIFF of TreeMap tree list IDs is required. Currently, this data is not a LANDFIRE product, therefore the GeoTIFF must be created via the FMSF.
For more information about the TreeMap product visit the project webpage. The version within the FMSF is TreeMap 2016.
API Endpoint
API Endpoint
POST /model/landfireCreate
Example Request
curl -X POST "https://fmsf.firenet.gov/fmsfModelREST/model/landfireCreate" -H "accept: */*" -H "Authorization: Basic <basic64 encoded username:API key>" -H "Content-Type: application/x-www-form-urlencoded" -d "West%20Longitude=<Decimal Degrees>&East%20Longitude=<Decimal Degrees>&North%20Latitude=<Decimal Degrees>&South%20Latitude=<Decimal Degrees>&Layers=TLST"
Example Response
{ "success": true, "queued": false, "includesWarningOrInfo": false, "multipleResponseMsgs": false, "msgCollector": null, "responseMessage": "Request to create landscape with ID <GeoTIFF ID> has been submitted", "entityId": <GeoTIFF ID>}
Request Body
Name |
Type |
Required |
Description |
---|---|---|---|
Authorization |
String |
Required |
<Basic64 encoded username:API key> credentials of the User |
West Longitude |
Number (Float) |
Required |
Longitude <Decimal Degrees> of the western extent of the bounding box |
East Longitude |
Number (Float) |
Required |
Longitude <Decimal Degrees> of the eastern extent of the bounding box |
North Latitude |
Number (Float) |
Required |
Latitude <Decimal Degrees> of the northern extent of the bounding box |
South Latitude |
Number (Float) |
Required |
Latitude <Decimal Degrees> of the southern extent of the bounding box |
Layers |
String |
Required |
TLST |
Response Fields
Code 200 - OK
Name |
Type |
Description |
---|---|---|
success |
Boolean |
Upload completion status |
queued |
Boolean |
Upload queued status |
includesWarningOrInfo |
Boolean |
Not used; will be deprecated |
multipleResponseMsgs |
Boolean |
Not used; will be deprecated |
msgCollector |
String |
Not used; will be deprecated |
responseMessage |
String |
Descriptive explanation what occurred during the request |
entityId |
Integer |
FMSF assigned <GeoTIFF ID> for the created TreeMap GeoTIFF |
Code 400 – The request was unacceptable
Invalid TreeMap GeoTIFF file information provided
Code 401 – Unauthorized
Authorization info is missing or invalid
Code 500 – Server errors
Something went wrong on the FMSF end. Server error handling the request